package cn.engage.org.mapper;

import cn.engage.basic.mapper.BaseMapper;
import cn.engage.org.domain.Department;
import cn.engage.org.domain.Employee;
import cn.engage.org.query.EmployeeQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {


    Employee findByName(String username);

    void addRole(@Param("ids") Long id,@Param("idr") Long id1);

    Employee findByLogininfoId(Long id);

    List<Employee> findByShopId(Long shopId);
}
